package models;

import play.db.jpa.Model;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;
import javax.persistence.Table;

/**
 * Created by IntelliJ IDEA.
 * User: bicho
 * Date: 20/01/12
 * Time: 23:27
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table(name = "person_detail")
public class PersonDetail extends Model{

    @ManyToOne
    public Person person;

    @OneToOne
    public Inscription inscription;
}
